package cn.hnucm.searchesservice.service;


import cn.hnucm.searchesservice.entity.TbGoodsImage;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 账单明细 服务类
 * </p>
 *
 * @author chenjintao
 * @since 2021-12-20
 */
@Service
public interface TbGoodsImageService{

    //获取一个商品号的所有图片路径
    List<TbGoodsImage> getImageByGoodsId(Integer goodsId);

    //删除一条记录
    Boolean deleteGoodsImage(TbGoodsImage tbGoodsImage);
    //添加一条图片记录
    Boolean addGoodsImage(TbGoodsImage tbGoodsImage);
    //修改一条图片记录
    Boolean updateGoodsImage(Integer goodsId,String oldImagePath,String newImagePath);

}
